﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lswweb.Model;

namespace Lswweb.IDAL
{
    public interface IProductWholesaleRuleDAL
    {
        ProductWholesaleRuleInfo FindById(int id);
        ProductWholesaleRuleInfo FindByQuantity(int number);

        IList<ProductWholesaleRuleInfo> FindAll();

        void Add(ProductWholesaleRuleInfo rule);

        void Update(ProductWholesaleRuleInfo rule);

        void Delete(int id);
    }
}
